package com.dragon.modules.yuegou.excel.wallet;

import com.dragon.modules.media.annotations.ExcelSheet;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
@com.dragon.modules.media.annotations.ExcelWorkbook(template = "classpath:\\excel\\wallet\\memberTrade.xlsx")
public class MemberTradeWorkbook {
	@ExcelSheet
	@JsonProperty("交易明细表")
	private List<MemberTradeRow> Transaction;

	public static class MemberTradeRow {

		@JsonProperty("订单号")
		private String orderNo;

		@JsonProperty("手机号")
		private String mobile;
		
		@JsonProperty("订单类型")
		private String type;

		@JsonProperty("支付方式")
		private String currencyType;

		@JsonProperty("交易时间")
		private LocalDateTime createdTime;

		@JsonProperty("悦卡名称")
		private String memberCardNo;

		@JsonProperty("商户")
		private String merchantId;

		@JsonProperty("收入/支出")
		private String pay;

		@JsonProperty("交易金额")
		private BigDecimal amount;

		@JsonProperty("实际金额")
		private BigDecimal realAmount;

		@JsonProperty("积分")
		private String points;
		@JsonProperty("商品名称")
		private String skuTitle;

		public String getSkuTitle() {
			return skuTitle;
		}

		public void setSkuTitle(String skuTitle) {
			this.skuTitle = skuTitle;
		}

		public String getOrderNo() {
			return orderNo;
		}

		public void setOrderNo(String orderNo) {
			this.orderNo = orderNo;
		}

		public String getMobile() {
			return mobile;
		}

		public void setMobile(String mobile) {
			this.mobile = mobile;
		}

		public String getType() {
			return type;
		}

		public void setType(String type) {
			this.type = type;
		}

		public String getCurrencyType() {
			return currencyType;
		}

		public void setCurrencyType(String currencyType) {
			this.currencyType = currencyType;
		}

		public LocalDateTime getCreatedTime() {
			return createdTime;
		}

		public void setCreatedTime(LocalDateTime createdTime) {
			this.createdTime = createdTime;
		}

		public String getMemberCardNo() {
			return memberCardNo;
		}

		public void setMemberCardNo(String memberCardNo) {
			this.memberCardNo = memberCardNo;
		}

		public String getMerchantId() {
			return merchantId;
		}

		public void setMerchantId(String merchantId) {
			this.merchantId = merchantId;
		}

		public String getPay() {
			return pay;
		}

		public void setPay(String pay) {
			this.pay = pay;
		}

		public BigDecimal getAmount() {
			return amount;
		}

		public void setAmount(BigDecimal amount) {
			this.amount = amount;
		}

		public BigDecimal getRealAmount() {
			return realAmount;
		}

		public void setRealAmount(BigDecimal realAmount) {
			this.realAmount = realAmount;
		}

		public String getPoints() {
			return points;
		}

		public void setPoints(String points) {
			this.points = points;
		}
	}

	public List<MemberTradeRow> getTransaction() {
		return Transaction;
	}

	public void setTransaction(List<MemberTradeRow> transaction) {
		Transaction = transaction;
	}
}
